FragmentResultOwner

A class that manages passing data between fragments.

Inheritors

Functions

Link copied to clipboard
abstract fun clearFragmentResult(@NonNull requestKey: String)
Clears the stored result for the given requestKey.
Link copied to clipboard
abstract fun clearFragmentResultListener(@NonNull requestKey: String)
Clears the stored FragmentResultListener for the given requestKey.
Link copied to clipboard
abstract fun setFragmentResult(@NonNull requestKey: String, @NonNull result: Bundle)
Sets the given result for the requestKey.
Link copied to clipboard
abstract fun setFragmentResultListener(@NonNull requestKey: String, @NonNull lifecycleOwner: LifecycleOwner, @NonNull listener: FragmentResultListener)
Sets the FragmentResultListener for a given requestKey.